Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New provideApollo() and provideNamedApollo() #2296

Merged
merged 2 commits into from
Sep 19, 2024
Merged

New provideApollo() and provideNamedApollo() #2296

merged 2 commits into from
Sep 19, 2024

Conversation

PowerKiKi
Copy link
Collaborator

@PowerKiKi PowerKiKi commented Sep 19, 2024

Those two providers make it simpler to provide Apollo with options and flags to the application.

Token injections, APOLLO_OPTIONS, APOLLO_NAMED_OPTIONS and APOLLO_FLAGS are not needed anymore in application code. Though they might still be used for custom providing techniques.

ApolloModule is deprecated because it brings no value. Especially with the introduction of the two providing functions.

Copy link

changeset-bot bot commented Sep 19, 2024

🦋 Changeset detected

Latest commit: 4f149ea

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
apollo-angular Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Those two providers make it simpler to provide Apollo with options and
flags to the application.

Token injections, `APOLLO_OPTIONS`, `APOLLO_NAMED_OPTIONS` and
`APOLLO_FLAGS` are not needed anymore in application code. Though they
might still be used for custom providing techniques.

`ApolloModule` is deprecated because it brings no value. Especially with
the introduction of the two providing functions.
Copy link
Contributor

github-actions bot commented Sep 19, 2024

💻 Website Preview

The latest changes are available as preview in: https://79d61a9b.apollo-angular.pages.dev

@PowerKiKi PowerKiKi merged commit e4f7bc0 into master Sep 19, 2024
26 checks passed
@PowerKiKi PowerKiKi deleted the powerkiki branch September 19, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant